package br.com.docgest.telas;

import br.com.docgest.entidades.Cliente;
import br.com.docgest.fachada.FachadaLevantamento;
import br.com.docgest.hibernate.NewHibernateUtil;
import br.com.docgest.repositorio.RepositorioCliente;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.text.DefaultFormatterFactory;
import javax.swing.text.MaskFormatter;
import org.hibernate.Session;

public class TelaAdicionarLevantamento extends javax.swing.JFrame {

    Session session = NewHibernateUtil.getSessionFactory().getCurrentSession();

    public TelaAdicionarLevantamento() {
        initComponents();
        try {
            MaskFormatter mascara = new MaskFormatter("##/##/####");
            this.dataFimContrato.setFormatterFactory(new DefaultFormatterFactory(mascara));
        } catch (ParseException ex) {
            Logger.getLogger(TelaAdicionarLevantamento.class.getName()).log(Level.SEVERE, null, ex);
        }
        this.rootPane.setDefaultButton(procurar);
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        jTextArea1 = new javax.swing.JTextArea();
        cliente = new javax.swing.JComboBox();
        jLabel1 = new javax.swing.JLabel();
        referencia = new javax.swing.JTextField();
        procurar = new javax.swing.JButton();
        jPanel1 = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();
        fornecedorAtual = new javax.swing.JTextField();
        jLabel3 = new javax.swing.JLabel();
        dataFimContrato = new javax.swing.JFormattedTextField();
        jLabel4 = new javax.swing.JLabel();
        VolumeMensalPB = new javax.swing.JTextField();
        VolumeMensalColor = new javax.swing.JTextField();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        franquiaMensalPB = new javax.swing.JTextField();
        jLabel7 = new javax.swing.JLabel();
        franquiaMensalColor = new javax.swing.JTextField();
        jLabel8 = new javax.swing.JLabel();
        valorExcedentePB = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        valorExcedenteColor = new javax.swing.JTextField();
        softwareBilhetagem = new javax.swing.JCheckBox();
        fluxoDigitalizacao = new javax.swing.JCheckBox();
        RFID = new javax.swing.JCheckBox();
        cloud = new javax.swing.JCheckBox();
        jLabel10 = new javax.swing.JLabel();
        SLA = new javax.swing.JComboBox();
        satisfacao = new javax.swing.JCheckBox();
        jLabel11 = new javax.swing.JLabel();
        jScrollPane2 = new javax.swing.JScrollPane();
        OBS = new javax.swing.JTextArea();
        salvar = new javax.swing.JButton();
        status = new javax.swing.JLabel();

        jTextArea1.setColumns(20);
        jTextArea1.setRows(5);
        jScrollPane1.setViewportView(jTextArea1);

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle("Levantamento de Cliente");

        jLabel1.setText("Cliente");

        procurar.setText("Procurar");
        procurar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                procurarActionPerformed(evt);
            }
        });

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Apuração atual"));

        jLabel2.setText("Fornecedor atual");

        fornecedorAtual.setHorizontalAlignment(javax.swing.JTextField.RIGHT);

        jLabel3.setText("Data findo contratual");

        dataFimContrato.setHorizontalAlignment(javax.swing.JTextField.RIGHT);

        jLabel4.setText("Volume mensal P&B");

        VolumeMensalPB.setHorizontalAlignment(javax.swing.JTextField.RIGHT);

        VolumeMensalColor.setHorizontalAlignment(javax.swing.JTextField.RIGHT);

        jLabel5.setText("Volume mensal Color");

        jLabel6.setText("Franquia mensal P&B");

        franquiaMensalPB.setHorizontalAlignment(javax.swing.JTextField.RIGHT);

        jLabel7.setText("Franquia mensal Color");

        franquiaMensalColor.setHorizontalAlignment(javax.swing.JTextField.RIGHT);

        jLabel8.setText("Valor excedente P&B");

        valorExcedentePB.setHorizontalAlignment(javax.swing.JTextField.RIGHT);

        jLabel9.setText("Valor excedente Color");

        valorExcedenteColor.setHorizontalAlignment(javax.swing.JTextField.RIGHT);

        softwareBilhetagem.setText("Software de bilhetagem");

        fluxoDigitalizacao.setText("Fluxo de trabalho em digitalização");

        RFID.setText("Cartão de aproximação RFID");

        cloud.setText("Serviço Cloud");

        jLabel10.setText("SLA");

        SLA.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Inferior", "2hs", "4hs", "6hs", "8hs", "10hs", "12hs", "14hs", "16hs", "18hs", "20hs", "22hs", "24hs", "26hs", "28hs", "30hs", "32hs", "34hs", "36hs", "38hs", "40hs", "42hs", "44hs", "46hs", "48hs", "50hs", "52hs", "54hs", "56hs", "58hs", "60hs", "62hs", "64hs", "66hs", "68hs", "70hs", "72hs", "Superior" }));

        satisfacao.setText("Satisfeito com o atual fornecedor");

        jLabel11.setText("OBS:");

        OBS.setColumns(20);
        OBS.setRows(5);
        jScrollPane2.setViewportView(OBS);

        salvar.setText("Salvar");
        salvar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                salvarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel11)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane2)
                        .addGap(18, 18, 18)
                        .addComponent(salvar, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addContainerGap()
                                .addComponent(jLabel10)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(SLA, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(satisfacao))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGap(10, 10, 10)
                                .addComponent(jLabel2)))
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addGap(10, 10, 10))
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                                .addGap(0, 0, Short.MAX_VALUE)
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(fornecedorAtual, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)
                                    .addComponent(dataFimContrato)))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addComponent(jLabel4)
                                .addGap(156, 156, 156)
                                .addComponent(VolumeMensalPB))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel3)
                                    .addComponent(jLabel5))
                                .addGap(146, 146, 146)
                                .addComponent(VolumeMensalColor))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addComponent(jLabel6)
                                .addGap(148, 148, 148)
                                .addComponent(franquiaMensalPB))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel7)
                                    .addComponent(jLabel8))
                                .addGap(142, 142, 142)
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(franquiaMensalColor)
                                    .addComponent(valorExcedentePB)
                                    .addComponent(valorExcedenteColor))))
                        .addContainerGap())
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel9)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addComponent(softwareBilhetagem)
                                .addGap(18, 18, 18)
                                .addComponent(fluxoDigitalizacao)
                                .addGap(18, 18, 18)
                                .addComponent(RFID))
                            .addComponent(cloud))
                        .addContainerGap(31, Short.MAX_VALUE))))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(11, 11, 11)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(fornecedorAtual, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel2))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jLabel3)
                    .addComponent(dataFimContrato, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel4)
                    .addComponent(VolumeMensalPB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(6, 6, 6)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jLabel5)
                    .addComponent(VolumeMensalColor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(franquiaMensalPB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel6))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(jLabel7)
                    .addComponent(franquiaMensalColor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(valorExcedentePB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel8))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(valorExcedenteColor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel9))
                .addGap(18, 18, 18)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(softwareBilhetagem)
                    .addComponent(fluxoDigitalizacao)
                    .addComponent(RFID))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(cloud)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 2, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel10)
                            .addComponent(SLA, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(satisfacao))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel11)
                            .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(salvar, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap())
        );

        status.setText("Pronto");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jLabel1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(status)
                                .addGap(0, 0, Short.MAX_VALUE))
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(cliente, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(referencia))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(procurar)))))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(procurar, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel1)
                            .addComponent(referencia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(9, 9, 9)
                        .addComponent(cliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(status)
                .addGap(18, 18, 18)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        setSize(new java.awt.Dimension(616, 584));
        setLocationRelativeTo(null);
    }// </editor-fold>//GEN-END:initComponents

    private void procurarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_procurarActionPerformed
        String ref = this.referencia.getText();
        session.beginTransaction();
        List<Cliente> lista = (List<Cliente>) session.createQuery("From Cliente").list();
        for (Cliente cc : lista) {
            if (cc.getNomeFantazia().contains(ref)) {
                this.cliente.removeAllItems();
                this.cliente.repaint();
                this.cliente.addItem(cc.getNomeFantazia());
                break;
            }
        }
    }//GEN-LAST:event_procurarActionPerformed

    private void salvarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_salvarActionPerformed
        String fornecedorAtual_ref = this.fornecedorAtual.getText();
        String dataFimContrato_ref = this.dataFimContrato.getText();
        String volumeMensalPB_ref = this.VolumeMensalPB.getText();
        String volumeMensalColor_ref = this.VolumeMensalColor.getText();
        String franquiaMensalPB_ref = this.franquiaMensalPB.getText();
        String franquiaMensalColor_ref = this.franquiaMensalColor.getText();
        String valorExcedentePB_ref = this.valorExcedentePB.getText();
        String valorExcedenteColor_ref = this.valorExcedenteColor.getText();
        int softwareBilhetage_ref = 2;
        if (this.softwareBilhetagem.isSelected()) {
            softwareBilhetage_ref = 1;
        }
        int fluxoDigitalizacao_ref = 2;
        if (this.fluxoDigitalizacao.isSelected()) {
            fluxoDigitalizacao_ref = 1;
        }
        int RFID_ref = 2;
        if (this.RFID.isSelected()) {
            RFID_ref = 1;
        }
        int cloud_ref = 2;
        if (this.cloud.isSelected()) {
            cloud_ref = 1;
        }
        String SLA_ref = this.SLA.getSelectedItem().toString();
        int satisfacao_ref = 2;
        if (this.satisfacao.isSelected()) {
            satisfacao_ref = 1;
        }
        String OBS_ref = this.OBS.getText();

        FachadaLevantamento facha = new FachadaLevantamento();
        RepositorioCliente repo = new RepositorioCliente();
        facha.adicionarLevantamento(repo.pegarCliente2(this.cliente.getSelectedItem().toString()),
                fornecedorAtual_ref, dataFimContrato_ref, volumeMensalPB_ref,
                volumeMensalColor_ref, franquiaMensalPB_ref, franquiaMensalColor_ref,
                valorExcedentePB_ref, valorExcedenteColor_ref, softwareBilhetage_ref,
                fluxoDigitalizacao_ref, RFID_ref, cloud_ref, SLA_ref, satisfacao_ref, OBS_ref);

        this.dispose();
    }//GEN-LAST:event_salvarActionPerformed

    public static void main(String args[]) {
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(TelaAdicionarLevantamento.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(TelaAdicionarLevantamento.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(TelaAdicionarLevantamento.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(TelaAdicionarLevantamento.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                new TelaAdicionarLevantamento().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTextArea OBS;
    private javax.swing.JCheckBox RFID;
    private javax.swing.JComboBox SLA;
    private javax.swing.JTextField VolumeMensalColor;
    private javax.swing.JTextField VolumeMensalPB;
    private javax.swing.JComboBox cliente;
    private javax.swing.JCheckBox cloud;
    private javax.swing.JFormattedTextField dataFimContrato;
    private javax.swing.JCheckBox fluxoDigitalizacao;
    private javax.swing.JTextField fornecedorAtual;
    private javax.swing.JTextField franquiaMensalColor;
    private javax.swing.JTextField franquiaMensalPB;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JTextArea jTextArea1;
    private javax.swing.JButton procurar;
    private javax.swing.JTextField referencia;
    private javax.swing.JButton salvar;
    private javax.swing.JCheckBox satisfacao;
    private javax.swing.JCheckBox softwareBilhetagem;
    private javax.swing.JLabel status;
    private javax.swing.JTextField valorExcedenteColor;
    private javax.swing.JTextField valorExcedentePB;
    // End of variables declaration//GEN-END:variables
}
